package Demo;

public class Task2 implements Runnable{

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName()+"任务二"+"running");
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(Thread.currentThread().getName()+"任务二"+"end");
        //   System.out.println(System.currentTimeMillis());
    }
}
